<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>

	<body>
		<div id='citycnt' class="content-area">
			<div class="items-display-flex flex-row flex-between content">
				<div class="left">
					<div class="companyName">上海熠整信息技术有限公司</div>
					<div class="horizon1"></div>
					<ul>
						<li v-for="(item,index) in itemArr" class="footer-item"  @click="gotoAboutus(index+1)">
							<span v-bind:class="{'emphasize':index+1==curFlag}" v-text="item"></span>
						</li>
					</ul>
					<div class="horizon1"></div>
					<div class="cities">
						<span v-for="city in allcity" v-on:click="regionselect(city)">{{city.region_name}}</span>
					</div>
				</div>
				<div>
					<div class="qr">
						<img src="../img/index/qrcode1.jpg" />
						<div>服务号</div>
					</div>
					<div class="qr">
						<img src="../img/index/qrcode2.jpg" />
						<div>订阅号</div>
					</div>
				</div>
			</div>
			
			<div class="horizon2"></div>
			<div class="beian">
				备案号: 沪ICP 备18002232 号
			</div>
		</div>
	</body>
	<script>

		var cityCnt = new Vue({
			el:'#citycnt',
			data:{
				itemArr:['关于我们','联系我们','加入我们','服务声明','友情链接','区域加盟'],
				allcity:[],
				curFlag:0
			},
			created:function(){

			},
			methods:{
				gotoAboutus:function(flag){
					if(window.location.href.indexOf('aboutus.html')>0){
						maincnt.changeMenu(flag);
						return;
					}
					var urlstr = './aboutus.html?flag=' + flag;
					window.open(urlstr);
				},
				regionselect:function(city){
					if(maincnt){
						maincnt.sregion = city.id;						
					}
					
					if(footCnt){
						footCnt.curcity = city;
					}
					closeCityChoosePanel();
					
					setCookie('kdcurcityId',city.id);
					setCookie('kdcurcityName',city.region_name);
					
					if(typeof initMenu === "function"){
						initMenu();
					}
					
					if(typeof loadHouseList === "function"){
						loadHouseList();
					}
					else{
						window.location.href = 'qgxf.html';
					}
				}
			}
		});
		
		
	</script>
</html>